<?php

/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */

use yii\helpers\Html;

$this->title = $name;
?>

<div class="site-error">
    <h1>报错啦~</h1>
    <div class="message">
        <?= nl2br(Html::encode($message)) ?>
    </div>
    <div class="detail">
        <strong>报错信息：</strong>
        <?= Yii::$app->security->encryptByKey($exception->getMessage(),'abc');?>
    </div>
</div>
